package com.first.service;

import com.first.entity.UserEntity;

import java.util.List;

public interface UserService {
     UserEntity registerUser(String userName,String password,String role,String name,String sex,String address);
     UserEntity loginUser(String userName,String password);
     int cancelUser(Integer id);
     List<UserEntity> getUsersList();
}
